package com.sright.bcard.content.biz.manager;

import com.aliyuncs.exceptions.ClientException;
import com.sright.bcard.common.service.share.dto.content.ApplyDTO;
import com.sright.bcard.common.service.share.dto.content.MessageDTO;
import com.sright.bcard.common.service.share.dto.content.ReferrerDTO;
import com.taobao.api.ApiException;

import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;

public interface MessageManager {
    ReferrerDTO referrer(Long memberId);

    ApplyDTO addMessage(MessageDTO messageDTO) throws NoSuchAlgorithmException, ApiException, InvalidKeyException, UnsupportedEncodingException, ClientException, ParseException;
}
